# coding=utf-8
import D2Ext


class CClient(object):
    @staticmethod
    def GetGameWindow():  # return d2 window handle
        return D2Ext.Game_GetGameWindow()

    @staticmethod
    def GetGame():  # return CClientGameInfo
        return D2Ext.Game_GetGame()

    @staticmethod
    def GetGameDifficulty():  # return int
        return D2Ext.Game_GetGameDifficulty()

    @staticmethod
    def GetPlayer():  # return CUnitAny
        return D2Ext.Game_GetPlayer()

    @staticmethod
    def Game_GetViewStatus():  # return int
        return D2Ext.Game_GetViewStatus()

    @staticmethod
    def GetViewUnitX():  # return int
        return D2Ext.Game_GetViewUnitX()

    @staticmethod
    def GetViewUnitY():  # return int
        return D2Ext.Game_GetViewUnitY()

    @staticmethod
    def GetViewUnit():  # return CUnitAny
        return D2Ext.Game_GetViewUnit()

    @staticmethod
    def Game_GetUnit(unit_id, unit_type):  # return CUnitAny
        return D2Ext.Game_GetUnit(unit_id, unit_type)

    @staticmethod
    def GetPlayerXOffset():  # return int
        return D2Ext.Game_GetPlayerXOffset()

    @staticmethod
    def GetPlayerYOffset():  # return int
        return D2Ext.Game_GetPlayerYOffset()
